using System;
using System.Collections.Generic;
using System.Text;

namespace Stormwind.Core.Data {
	/// <summary>
	/// Class used to define a grouping.
	/// </summary>
	public class GroupingDefinition {
		private FieldDefinition field;
		private int sequence;

		/// <summary>
		/// Field that this grouping represents.
		/// </summary>
		public FieldDefinition Field {
			get { return field; }
			set { field = value; }
		}

		/// <summary>
		/// Sequence of the grouping (1 = First, 2 = Second, so on).
		/// </summary>
		public int Sequence {
			get { return sequence; }
			set { sequence = value; }
		}

	}
}
